package com.wfcm.service;

import com.wfcm.entity.TbServiceTokenEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户Token
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-01-22 19:38:03
 */
public interface TbServiceTokenService {
	
	TbServiceTokenEntity queryObject(String token);
	
	List<TbServiceTokenEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbServiceTokenEntity tbServiceToken);
	
	void update(TbServiceTokenEntity tbServiceToken);
	
	void delete(String token);
	
	void deleteBatch(String[] tokens);
}
